﻿using UnityEngine;
using System.Collections;

public class PlayerStatus
{
    int hp;
    int str;
    int def;

    float speedRun;          //奔跑速度   
    float jumpheight;        //跳跃高度
    float jumpTwiceHeight;   //二段跳高度
    float dashTime;          //冲刺时间
    float dashInvincibleTime;//冲刺无敌时间
    float jetpackTime;       //喷气背包使用时间

    public int Hp
    {
        get
        {
            return hp;
        }

        set
        {
            hp = value;
        }
    }

    public int Str
    {
        get
        {
            return str;
        }

        set
        {
            str = value;
        }
    }

    public int Def
    {
        get
        {
            return def;
        }

        set
        {
            def = value;
        }
    }

    public float SpeedRun
    {
        get
        {
            return speedRun;
        }

        set
        {
            speedRun = value;
        }
    }

    public float Jumpheight
    {
        get
        {
            return jumpheight;
        }

        set
        {
            jumpheight = value;
        }
    }

    public float JumpTwiceHeight
    {
        get
        {
            return jumpTwiceHeight;
        }

        set
        {
            jumpTwiceHeight = value;
        }
    }

    public float DashInvincibleTime
    {
        get
        {
            return dashInvincibleTime;
        }

        set
        {
            dashInvincibleTime = value;
        }
    }

    public float JetpackTime
    {
        get
        {
            return jetpackTime;
        }

        set
        {
            jetpackTime = value;
        }
    }
}